package us.ajg0702.leaderboards.Utils;

public class CachedData<T> {
    private final T data;
    private final long time;

    public CachedData(T data) {
        this(data, System.currentTimeMillis());
    }

    public CachedData(T data, long time) {
        this.data = data;
        this.time = time;
    }

    public T getData() {
        return this.data;
    }

    public long getTime() {
        return this.time;
    }

    public long getTimeSince() {
        return System.currentTimeMillis() - getTime();
    }
}


*Location:D:\User\Xuan\Downloads\ajLeaderboards-1.3.3.jar\\us\ajg0702\leaderboards\Utils\CachedData.class
 *Java compiler version:8(52.0)
         *JD-Core Version:1.1.3
